package com.zareal.ymcc.feign;

import com.zareal.ymcc.result.JSONResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

@FeignClient(value = "service-user",fallbackFactory = InformUserFeignClientFallbackFactory.class)
public interface InformUserFeignClient {
    /**
     * 查询所有对象
     */
    @RequestMapping(value = "/user/list",method = RequestMethod.GET)
    JSONResult list();


}
